<#--
	e.g.
	
 	<ts:permission
		featureCode="v" 
 		cssClass="contrldiv" 
 		onclick="javascript:$('#roleGridTable').datagrid('addRecord');" 
 		image="/theme/default/images/pageFrame/001.gif" 
 		template="permiss_tabled">
	</ts:permission>

	
  <table width="88%" border="0" cellpadding="0" cellspacing="0" class="${parameters.cssClass?html}">
      <tr>
        <td ><div align="center"><img src="${parameters.image?html}" width="14" height="14" /></div></td>
        <td ><div onclick="${parameters.onclick?html}"  align="center">${parameters.featureName?html}</div></td>
      </tr>
  </table>
  
-->


<#if parameters.enable?default(false)>
 <table border="0"  cellpadding="0" cellspacing="0" 
 <#if parameters.cssClass??>
 	class="${parameters.cssClass?html}"<#rt/>
 </#if>
 >
      <tr>
      	<#if parameters.image??>
        	<td ><div align="center"><img src="${parameters.image?html}" width="14" height="14" /></div></td>
        </#if>
        <td >
        	<div 
			<#include "/${parameters.templateDir}/simple/scripting-events.ftl" />
			<#include "/${parameters.templateDir}/simple/common-attributes.ftl" />
			<#include "/${parameters.templateDir}/simple/dynamic-attributes.ftl" />
        	align="center">
        		<#if parameters.featureName??>
         			${parameters.featureName?html}
         		</#if>
         	</div>
         </td>
      </tr>
 </table>
 </#if>